' get the size of a list
' the last item is at index size -1
dim $lst$ as list
$lst$.initialize
dim $size$ as int
$size$ = $lst$.size
$end$